package pl.edu.pw.stud.ltrzaska.mvc.view;

public class UserMessage {
	private UserMessageLevel level;
	private String text;

	public UserMessage(String txt) {
		super();
		this.text = txt;
	}
	
	public UserMessage(UserMessageLevel level, String text) {
		super();
		this.level = level;
		this.text = text;
	}

	public UserMessageLevel getLevel() {
		return level;
	}

	public void setLevel(UserMessageLevel level) {
		this.level = level;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
}
